package com.asset.dispoal.defaultDepartment.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import tech.mhuang.pacebox.springboot.core.entity.BaseEntity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 默认部门实体类
 *
 * @author: mhuang
 * @date: 2022-03-18 10:42:26
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class GbDefaultDepartmentResponse extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     *
     */
    @ApiModelProperty(value = "")
    private String id;
    /**
     * 部门名称
     */
    @ApiModelProperty(value = "部门名称")
    private String name;
    /**
     * 上级部门
     */
    @ApiModelProperty(value = "上级部门")
    private String parentId;
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private String sort;
    /**
     * 是否正常
     */
    @ApiModelProperty(value = "是否正常")
    private String state;
    /**
     * 公司类型
     */
    @ApiModelProperty(value = "公司类型")
    private String companyType;


    private List<GbDefaultDepartmentResponse> departmentList = new ArrayList<>();
}